package com.zhixiang.xaec.service.safebase.dangeroussource.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.dangeroussource.RiskSourceFileDao;
import com.zhixiang.xaec.entity.safebase.dangeroussource.RiskSourceFile;
import com.zhixiang.xaec.service.safebase.dangeroussource.RiskSourceFileService;

@Service
public class RiskSourceFileServiceImpl extends BaseServiceImpl<RiskSourceFile,Long> implements RiskSourceFileService{

    @Override
    @Resource(type=RiskSourceFileDao.class)
    public void setBaseDao(BaseDao<RiskSourceFile, Long> dao) {
       setDao(dao);
    }

    @Override
    public String delete(String[] ids)
    {
       for(String id:ids){
           getDao().remove(Long.valueOf(id));
       }
        return null;
    }
    
}
